﻿// Xshell Condition Attribute - Provides metadata for a condition
// 
// <copyright file="XsConditionAttribute.cs" company="TaskyMedia LLC">
//   Copyright © 2010 TaskyMedia LLC
// </copyright>

namespace Xshell
{
    using System;

    /// <summary>
    /// Provides metadata for a condition.
    /// </summary>
    public class XsConditionAttribute : Attribute
    {
        /// <summary>
        /// Initializes a new instance of the <see cref="XsConditionAttribute"/> class.
        /// </summary>
        /// <param name="name">The name of the condition.</param>
        public XsConditionAttribute(string name)
        {
            this.Name = name;
        }

        /// <summary>
        /// Gets or sets the command name.
        /// </summary>
        /// <value>The command name.</value>
        public string Name { get; set; }
    }
}
